import java.util.ArrayList;
import java.util.HashSet;
import java.util.Scanner;

public class demo02 {
    //货物摆放
    public static void main(String[] args) {
        long n = 2021041820210418L;
        long count=0;
        HashSet<Long> set=new HashSet<>();
        for (long i = 1; i <= Math.sqrt(n); i++) {
            if(n%i==0){
                set.add(i);
                long num=n/i;
                set.add(num);
            }
        }
        for (long x:set) {
            for (long y:set) {
                for (long a:set) {
                    if(x*y*a==n){
                        count++;
                    }
                }
            }
        }
        System.out.println(count);
    }
}
